using System;
using System.BusinessObjects.Data;
using System.Data;

namespace Blazing.BusinessObjects.Tagging
{
    public class StatisticTaxonomy : DataObject<StatisticTaxonomy>
    {
        #region Properties
        public virtual int ID
        {
            get { return GetValue<int>("ID"); }
            set
            {
                BeginEdit();
                SetValue("ID", value);
            }
        }

        public virtual int Hits
        {
            get { return GetValue<int>("Hits"); }
            set
            {
                BeginEdit();
                SetValue("Hits", value);
            }
        }

        public virtual int Searches
        {
            get { return GetValue<int>("Searches"); }
            set
            {
                BeginEdit();
                SetValue("Searches", value);
            }
        }

        public virtual int Total
        {
            get { return GetValue<int>("Total"); }
            set
            {
                BeginEdit();
                SetValue("Total", value);
            }
        }

        public virtual DateTime RowStamp
        {
            get { return GetValue<DateTime>("RowStamp"); }
            set
            {
                SetValue("RowStamp", value);
            }
        }

        Taxonomy _taxonomy;
        public virtual Taxonomy Taxonomy
        {
            get
            {
                return _taxonomy;
            }
            set
            {
                BeginEdit();
                _taxonomy = value;
            }
        }

        #endregion  
    }
}
